home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Science
/
Asymptote Demo
/
Asymptote Startup
< prev
next >
Wrap
Text File
|
1994-05-07
|
2KB
|
55 lines
% Asymptote runs this script every time it starts up.
%
% If you don't want the start up script to run, select
% File>Options>Preferences and disable this option.
%
% You can use this start up script to change the default
% values for the graphics environment or to perform some
% function everytime Asymptote starts up.
%
% After Asymptote runs the Startup script, it records
% the settings of the graphics environment such as pensize
% font, graphframe, etc.
%
% Every time you run the recorder, Asymptote restores the
% parameters of the graphics environment to values they
% had when this start up script finished running.
% -------------------------------------------------------
% These are some examples of what you can do with the
% Startup script. Feel free to make any changes you like.
% Choose to measure graph coordinates in inches:
graphunits in
% Make the default graphics area square and put it roughly
% in the center of the page:
graphframe 2 7 2 7
% Make Helvetica the default font for graph labels:
fontname Helvetica
% Use these commands to change the default size
% for points, tickmarks and labels when scale = 1.0.
fontsize 12 % Default size of labels (in points)
pointsize 6 % Default size for point symbols (in points)
ticksize 12 % Default length of tick marks (in points)
pensize 0.25 % hairline
% You can change any of the other parameters of the
% graphics environment (such as pencolor, etc.) to have
% these become the new default values.
% The following commmand runs a script that sets a number
% of useful physical constants. Uncomment the next two
% lines if you want to have Asymptote set these constants:
% Constants
% close Constants
% You probably don't want the start up script to remain
% open after it runs so put the closewindow command at
% the end to close this window once the script finishes
% running.
closewindow